﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

using Bricks.Component.Utils;
using Bricks.Site.Models;


namespace Bricks.Business.Service
{
    public interface ICompleteFlowNodeService
    {
        List<CompleteFlowNodeView> GetCompleteFlowNode(string recordID);

        List<CompleteFlowNodeView> GetCompleteFlowNodeByParentNodeCode(string recordID, string parentNodeCode,bool isContrainParent,bool isDesc);

        List<CompleteFlowNodeView> GetCompleteFlowNodeByNodeCode(string recordID, string nodeCode);

        void InsetCompleteFlowNode(List<CompleteFlowNodeView> addList);

        void UpdateCompleteFlowNode(List<CompleteFlowNodeView> updateList);

        void DeleteCompleteFlowNode(List<CompleteFlowNodeView> deleteList);
    }
}